package org.ushio.common_module.util.exception;

import lombok.Getter;
import lombok.Setter;
import org.springframework.http.HttpStatus;

/**
 * @author 陈红
 * @since 2025/4/1 16:10
 * @version 1.0
 */
@Setter
@Getter
public class ErrorResponse {

    private int status;
    private String message;

    public ErrorResponse(HttpStatus status, String message) {
        this.status = status.value();
        this.message = message;
    }

}
